package cn.dbqn.dao;

import cn.dbqn.entity.Type;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository("typeMapper")
@Mapper
public interface TypeMapper {
    Integer addtype(Type type);

    List<Type> findall();
}